package org.tongdao.yulong.basic_di.complexfield.comple;

import org.tongdao.yulong.basic_di.complexfield.Cat;

import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.Set;

/**
 * @Description: TODO
 * @author: 殷玉龙
 * @date: 2020年09月29日 3:26 下午
 */
public class User {
  private String[] names;
  private List<String> tels;
  private Set<Cat> cats;
  private Map<String,Object> events;
  private Properties pros;

  public void setNames(String[] names) {
    this.names = names;
  }

  public void setTels(List<String> tels) {
    this.tels = tels;
  }

  public void setCats(Set<Cat> cats) {
    this.cats = cats;
  }

  public void setEvents(Map<String, Object> events) {
    this.events = events;
  }

  public void setPros(Properties pros) {
    this.pros = pros;
  }

  @Override
  public String toString() {
    return "User{" +
        "names=" + Arrays.toString(names) +
        ", tels=" + tels +
        ", cats=" + cats +
        ", events=" + events +
        ", pros=" + pros +
        '}';
  }
}
